projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453fa98
)
(Fstring_as_unibyte): Set size_byte field to -1.
author
Kenichi Handa
<handa@m17n.org>
Mon, 6 Apr 1998 05:06:12 +0000
(
05:06
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 6 Apr 1998 05:06:12 +0000
(
05:06
+0000)
src/fns.c
patch
|
blob
|
history
diff --git
a/src/fns.c
b/src/fns.c
index c98cb2547b8355675dd1b6c5d8f4e45519992310..7bd7c5b613a71a2c594ec0e5343f8dd26b6602af 100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-858,6
+858,7
@@
If STRING is unibyte, the result is STRING itself.")
{
string = Fcopy_sequence (string);
XSTRING (string)->size = STRING_BYTES (XSTRING (string));
+ SET_STRING_BYTES (XSTRING (string), -1);
}
return string;
}